package com.code.entity.composite;

/**
 * 抽象根节点
 */
public abstract class NodeComponent {

    public void add(NodeComponent nodeComponent) {
        throw new UnsupportedOperationException();
    }

    public abstract String build(String nbsp);

}
